<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body>
	<#if list?exists>
	<div class="panel admin-panel">
	  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span>业务列表</strong></div>
		<table class="table table-hover text-center">
	      <tr>
	        <th>标题</th>
	        <th>指定目录</th>
	        <th>操作</th>
	      </tr>
	      	<#list list as HomeMeta>      
	        <tr>
	          <td>${HomeMeta.meta}</td>
	          <td><font color="#00CC99">${HomeMeta.currentMenu}</font></td>
	          <td><div class="button-group"> <a class="button border-red" href="/deleteMeta.html?id=${HomeMeta.id}" onClick="return confirm('确定要删除吗？');"><span class="icon-trash-o"></span> 删除</a> </div></td>
	        </tr>
	        </#list>
	    </table>  
	</div>
	<br>
	</#if>
	<div class="panel admin-panel">
	  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加内容</strong></div>
	  <div class="body-content">
	    <form method="post" class="form-x" action="/addHomeMeta.html">  
	      <div class="form-group">
	        <div class="label">
	          <label>meta标题：</label>
	        </div>
	        <div class="field">
	          <input type="text" class="input w50" name="meta" data-validate="required:请输入标题" />
	          <div class="tips"></div>
	        </div>
	      </div>
	      
	      <div class="form-group">
	        <div class="label">
	          <label>所在目录：</label>
	        </div>
	        <div class="field">
	          <select class="form-control" name="currentMenu">
	          	<option selected="selected" value="走进我们">走进我们</option>
	          	<option value="公司业务">公司业务</option>
	          	<option value="新闻中心">新闻中心</option>
	          </select>
	          <div class="tips"></div>
	        </div>
	      </div>
	      <div class="form-group">
	        <div class="label">
	          <label></label>
	        </div>
	        <div class="field">
	          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
	        </div>
	      </div>
	    </form>
	  </div>
	</div>

</body>
<style>

</style>
</html>